# Contributor: Marian Buschsieweke <marian.buschsieweke@posteo.net>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
pkgname=py3-simplespectral
pkgver=1.0.0
pkgrel=5
pkgdesc="Heavily simplified scipy.signal.spectral module"
url="https://github.com/xmikos/simplespectral"
arch="noarch"
license="MIT"
depends="python3 py3-numpy py3-scipy py3-setuptools"
makedepends="py3-gpep517"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/xmikos/simplespectral/archive/v$pkgver.tar.gz"
builddir="$srcdir/simplespectral-$pkgver"
options="!check" # no checks provided

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	gpep517 install-wheel --destdir "$pkgdir" \
		.dist/*.whl
}

sha512sums="
16da3cb19cd7c567b64709a26ed5def7eb3047b08e2cb48db6962036a6c3e34c122dadf71821b6a22df55ebcf3c2ff95e3af3898efc8b4a6d5902e48de8e050c  py3-simplespectral-1.0.0.tar.gz
"
